package com.nuctech.hardwaredriver.serialport_library.core.codec;

import java.io.IOException;
import java.io.InputStream;

/**
 * Created by 心魂free on 2019/11/1.
 * <p>
 * 串口协议解码器
 */

public interface SerialPortProtocolDecoder {

    //解码
    byte[] decoder(InputStream in) throws IOException;
}
